package com.sjy.ylxt.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import com.sjy.ylxt.mapper.YlxtRoleMapper;
import com.sjy.ylxt.entity.domain.YlxtRole;
import com.sjy.ylxt.service.YlxtRoleService;

import javax.annotation.Resource;

/**
* @Author: lils
* @CreateTime: 2024-12-12
* @Description: ${description}
*/
@Service
public class YlxtRoleServiceImpl extends ServiceImpl<YlxtRoleMapper, YlxtRole> implements YlxtRoleService{

    @Resource
    private YlxtRoleMapper ylxtRoleMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return ylxtRoleMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(YlxtRole record) {
        return ylxtRoleMapper.insert(record);
    }

    @Override
    public int insertSelective(YlxtRole record) {
        return ylxtRoleMapper.insertSelective(record);
    }

    @Override
    public YlxtRole selectByPrimaryKey(Long id) {
        return ylxtRoleMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(YlxtRole record) {
        return ylxtRoleMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(YlxtRole record) {
        return ylxtRoleMapper.updateByPrimaryKey(record);
    }

}
